package com.ruoyi.smartcity.huanjing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 噪声对象 huanjing_zaosheng
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
public class HuanjingZaosheng extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 监测点名称 */
    @Excel(name = "监测点名称")
    private String name;

    /** 标准值 */
    @Excel(name = "标准值")
    private BigDecimal standardValue;

    /** 监测数值 */
    @Excel(name = "监测数值")
    private BigDecimal monitorValue;

    /** 监测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitorTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStandardValue(BigDecimal standardValue) 
    {
        this.standardValue = standardValue;
    }

    public BigDecimal getStandardValue() 
    {
        return standardValue;
    }
    public void setMonitorValue(BigDecimal monitorValue) 
    {
        this.monitorValue = monitorValue;
    }

    public BigDecimal getMonitorValue() 
    {
        return monitorValue;
    }
    public void setMonitorTime(Date monitorTime) 
    {
        this.monitorTime = monitorTime;
    }

    public Date getMonitorTime() 
    {
        return monitorTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("standardValue", getStandardValue())
            .append("monitorValue", getMonitorValue())
            .append("monitorTime", getMonitorTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
